class Chess {
	#x = 0;
	#y = 0;
	#classname = "" //black_chess,white_chess,empty_chess
	constructor(x, y) {
		this.#x = x;
		this.#y = y;
	}
	setX(x) {
		this.#x = x
	}
	setY(y) {
		this.#y = y
	}
	getX() {
		return this.#x;
	}
	getY() {
		return this.#y
	}
	setClassName(classname) {
		this.#classname = `box_${this.#x}_${this.#y} ${classname}`
	}
	getClassName() {
		return this.#classname;
	}
}

export default Chess